home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / Tax.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.8 KB  |  85 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14. <!-- 
  15. This is the SOX version of EDIFACT-based TAX-MOA.
  16. The TaxAmount and TaxableAmount are from MOA.
  17. TaxID is only used when the TaxCategory is 'Exempt'.
  18.  
  19. C533 and C243 are not included in this version.
  20. Attributes Type and TypeAgency are used for C241: Duty/Tax/Fee Type.
  21.  -->
  22.  
  23. <datatype name="TaxFuncQual">
  24.     <explain>
  25.     <p>
  26.     Data Element 5283: The duty/tax/fee functional qualifier.
  27.     The default for MarketSite 3.0 is 'Tax'.
  28.     </p>
  29.     </explain>
  30.     <enumeration datatype="NMTOKEN">
  31.     <option>CustomsDuty</option><!-- 5 Customs duty -->
  32.     <option>Tax</option><!-- 7 Tax -->
  33.     </enumeration>
  34.  
  35. </datatype>
  36.  
  37. <datatype name="TaxType">
  38.     <explain>
  39.     <p>
  40.     Data Element 5153: The duty/tax/fee type, coded.
  41.     The default for MarketSite 3.0 is 'GST'.
  42.     </p>
  43.     </explain>
  44.     <enumeration datatype="NMTOKEN">
  45.     <option>GST</option><!-- Goods and services tax -->
  46.     <option>VAT</option><!-- Value Added Tax -->
  47.     </enumeration>
  48. </datatype>
  49.  
  50. <datatype name="TaxCategory">
  51.     <explain>
  52.     <p>
  53.     Data Element 5305: The duty/tax/fee type, coded.
  54.     The default for MarketSite 3.0 is 'S'.
  55.     </p>
  56.     </explain>
  57.     <enumeration datatype="NMTOKEN">
  58.         <option>Other</option><!-- Mutually Defined -->
  59.     <option>Mixed</option><!-- A Mixed tax rate -->
  60.     <option>Exemp</option><!-- E Exempt from tax -->
  61.     <option>Standard</option><!-- S Standard rate -->
  62.     <option>FreeExportItem</option><!-- G Free export item, tax not charged -->
  63.     <option>Zero</option><!-- Z Zero rated goods -->
  64.     </enumeration>
  65. </datatype>
  66.  
  67. <elementtype name="Tax">
  68.     <model>
  69.         <sequence>
  70.             <element type="Decimal10_4" name="TaxPercent" />
  71.             <element type="string" name="Location" />
  72.             <element type="string" name="TaxId" occurs="?" />
  73.             <element type="Decimal18_3" name="TaxAmount" />
  74.             <element type="Decimal18_3" name="TaxableAmount" />
  75.             
  76.             <!--  TaxCategoryOther is specified only if TaxCategory is 'Other' -->
  77.             <element type="string" name="TaxCategoryOther" occurs="?" />
  78.         </sequence>
  79.     </model>
  80.     <attdef datatype="TaxFuncQual" name="FuncQual" ><default>Tax</default></attdef>
  81.     <attdef datatype="TaxCategory" name="Category" ><default>Standard</default></attdef>
  82.     <attdef datatype="TaxType" name="Type" ><default>GST</default></attdef>
  83. </elementtype>
  84. </schema>
  85.